Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTypeListIterator


Next

The Next method returns a copy of the next element in the type list that created this type-list iterator.

ODType Next ();
return value
A copy of the next element in the type list, or kODNULL if you have reached the end of the type list.
DISCUSSION
If your part calls this method before calling this type-list iterator's First method to begin the iteration, then this method works the same as calling the First method.

It is your responsibility to deallocate the returned type value when it is no longer needed.

EXCEPTIONS
kODErrIteratorOutOfSync
The type list was modified while the iteration was in progress.
kODErrOutOfMemory
There is not enough memory to create the type.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help